package com.example.aop.service;

import org.springframework.stereotype.Service;

/**
 * ClassName:OrderService
 * Package:com.example.aop.service
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/11-9:16
 * @Version:v1.0
 */
@Service
public class OrderService {

    //目标方法
    //生成订单的业务方法
    public void generate(){
        System.out.println("正在生成订单");
    }

    //取消订单的业务方法
    public void cancel(){
        System.out.println("订单已取消");
    }
}
